package com.ruoyi.orders.domain;


import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 user_order
 *
 * @author ruoyi
 * @date 2023-10-06
 */
public class UserOrder extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Integer id;

    /** $column.columnComment */
    @Excel(name = "订单编号", readConverterExp = "$column.readConverterExp()")
    private String orderNo;

    /** $column.columnComment */
    @Excel(name = "用户ID", readConverterExp = "$column.readConverterExp()")
    private String userId;

    /** $column.columnComment */
    @Excel(name = "总金额", readConverterExp = "$column.readConverterExp()")
    private BigDecimal totalPrice;

    /** $column.columnComment */
    @Excel(name = "收货地址", readConverterExp = "$column.readConverterExp()")
    private String address;

    /** $column.columnComment */
    @Excel(name = "收件人", readConverterExp = "$column.readConverterExp()")
    private String consignee;

    /** $column.columnComment */
    @Excel(name = "电话号码", readConverterExp = "$column.readConverterExp()")
    private String telNumber;

    /** $column.columnComment */
    @Excel(name = "创建时间", readConverterExp = "$column.readConverterExp()")
    private Date createDate;

    /** $column.columnComment */
    @Excel(name = "支付时间", readConverterExp = "$column.readConverterExp()")
    private Date payDate;

    /** $column.columnComment */
    @Excel(name = "支付状态", readConverterExp = "$column.readConverterExp()")
    private Integer status;

    /** $column.columnComment */
    @Excel(name = "商品名称", readConverterExp = "$column.readConverterExp()")
    private String goodsName;

    /** $column.columnComment */
    @Excel(name = "商品编号", readConverterExp = "$column.readConverterExp()")
    private Integer goodsNum;

    /** $column.columnComment */
    @Excel(name = "商品图片", readConverterExp = "$column.readConverterExp()")
    private String goodsPic;

    /** $column.columnComment */
    @Excel(name = "商品ID", readConverterExp = "$column.readConverterExp()")
    private Integer goodsId;

    public void setId(Integer id)
    {
        this.id = id;
    }

    public Integer getId()
    {
        return id;
    }
    public void setOrderNo(String orderNo)
    {
        this.orderNo = orderNo;
    }

    public String getOrderNo()
    {
        return orderNo;
    }
    public void setUserId(String userId)
    {
        this.userId = userId;
    }

    public String getUserId()
    {
        return userId;
    }
    public void setTotalPrice(BigDecimal totalPrice)
    {
        this.totalPrice = totalPrice;
    }

    public BigDecimal getTotalPrice()
    {
        return totalPrice;
    }
    public void setAddress(String address)
    {
        this.address = address;
    }

    public String getAddress()
    {
        return address;
    }
    public void setConsignee(String consignee)
    {
        this.consignee = consignee;
    }

    public String getConsignee()
    {
        return consignee;
    }
    public void setTelNumber(String telNumber)
    {
        this.telNumber = telNumber;
    }

    public String getTelNumber()
    {
        return telNumber;
    }
    public void setCreateDate(Date createDate)
    {
        this.createDate = createDate;
    }

    public Date getCreateDate()
    {
        return createDate;
    }
    public void setPayDate(Date payDate)
    {
        this.payDate = payDate;
    }

    public Date getPayDate()
    {
        return payDate;
    }
    public void setStatus(Integer status)
    {
        this.status = status;
    }

    public Integer getStatus()
    {
        return status;
    }
    public void setGoodsName(String goodsName)
    {
        this.goodsName = goodsName;
    }

    public String getGoodsName()
    {
        return goodsName;
    }
    public void setGoodsNum(Integer goodsNum)
    {
        this.goodsNum = goodsNum;
    }

    public Integer getGoodsNum()
    {
        return goodsNum;
    }
    public void setGoodsPic(String goodsPic)
    {
        this.goodsPic = goodsPic;
    }

    public String getGoodsPic()
    {
        return goodsPic;
    }
    public void setGoodsId(Integer goodsId)
    {
        this.goodsId = goodsId;
    }

    public Integer getGoodsId()
    {
        return goodsId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("orderNo", getOrderNo())
                .append("userId", getUserId())
                .append("totalPrice", getTotalPrice())
                .append("address", getAddress())
                .append("consignee", getConsignee())
                .append("telNumber", getTelNumber())
                .append("createDate", getCreateDate())
                .append("payDate", getPayDate())
                .append("status", getStatus())
                .append("goodsName", getGoodsName())
                .append("goodsNum", getGoodsNum())
                .append("goodsPic", getGoodsPic())
                .append("goodsId", getGoodsId())
                .toString();
    }
}
